package srdb.migration.Util;

public class Migration {

    private DBInfo srcDBInfo = new DBInfo();
    private DBInfo dstDBInfo = new DBInfo();

    private String schema = null;
    private String[] tables = null;
    private int migMode = 0;
    private boolean dropSchema = false;
    private boolean truncLoad = false;
    private int cpBatchSize = 0;
    private int batchSize = 0;
    private int fetchSize = 0;
    private int retryCount = 0;
    private int loaderCount = 0;
    private IUIOperation iuiOperation;

    public void setIuiOperation(IUIOperation iuiOperation) {
        this.iuiOperation = iuiOperation;
    }

    public IUIOperation getIuiOperation() {
        return iuiOperation;
    }

    public void setSrcDBInfo(DBInfo srcDBInfo) {
        this.srcDBInfo = srcDBInfo;
    }

    public void setDstDBInfo(DBInfo dstDBInfo) {
        this.dstDBInfo = dstDBInfo;
    }

    public boolean isDropSchema() {
        return dropSchema;
    }

    public boolean isTruncLoad() {
        return truncLoad;
    }

    public DBInfo getSrcDBInfo() {
        return srcDBInfo;
    }

    public DBInfo getDstDBInfo() {
        return dstDBInfo;
    }

    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public String[] getTables() {
        return tables;
    }

    public void setTables(String[] tables) {
        this.tables = tables;
    }

    public int getMigMode() {
        return migMode;
    }

    public void setMigMode(int migMode) {
        this.migMode = migMode;
    }

    public boolean getDropSchema() {
        return dropSchema;
    }

    public void setDropSchema(boolean dropSchema) {
        this.dropSchema = dropSchema;
    }

    public boolean getTruncLoad() {
        return truncLoad;
    }

    public void setTruncLoad(boolean truncLoad) {
        this.truncLoad = truncLoad;
    }

    public int getCpBatchSize() {
        return cpBatchSize;
    }

    public void setCpBatchSize(int cpBatchSize) {
        this.cpBatchSize = cpBatchSize;
    }

    public int getBatchSize() {
        return batchSize;
    }

    public void setBatchSize(int batchSize) {
        this.batchSize = batchSize;
    }

    public int getFetchSize() {
        return fetchSize;
    }

    public void setFetchSize(int fetchSize) {
        this.fetchSize = fetchSize;
    }

    public int getRetryCount() {
        return retryCount;
    }

    public void setRetryCount(int retryCount) {
        this.retryCount = retryCount;
    }

    public int getLoaderCount() {
        return loaderCount;
    }

    public void setLoaderCount(int loaderCount) {
        this.loaderCount = loaderCount;
    }

}
